package com.shuai.user.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.shuai.user.domain.entity.User;
import com.shuai.user.domain.request.UserRegisterRequest;
import com.shuai.user.domain.request.UserUpdateRequest;

import javax.servlet.http.HttpServletResponse;

/**
 * @author bxs
 * @description 针对表【user(用户表)】的数据库操作Service
 * @createDate 2024-07-04 13:19:29
 */
public interface UserService extends IService<User> {

    User register(UserRegisterRequest registerRequest);

    User getUserInfo(String authentication);

    User updateUserInfo(String authentication, UserUpdateRequest userUpdateRequest);

    void outLogin(String authentication, HttpServletResponse response);
}
